<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>nw.js test project</title>
</head>
<body>
<script>
  const { App } = require('nw.gui');
  const log = require('../..');

  log.warn('log from nw.js');

  if (App.argv.indexOf('--test') !== -1) {
    setTimeout(() => App.quit(), 50);
  }
</script>
</body>
</html>
